package cn.zjh.system.service.impl;

import cn.zjh.user.service.service.impl.BaseServiceImpl;
import cn.zjh.system.service.ISystemTypeService;
import cn.zjh.system.domain.SystemType;
import cn.zjh.system.mapper.SystemTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class SystemTypeServiceImpl extends BaseServiceImpl<SystemType> implements ISystemTypeService {


    @Autowired
    private SystemTypeMapper systemTypeMapper;


    /**
     * 级联删除
     * @param id
     */
    @Override
    public void cascadingDel(Long id) {
        systemTypeMapper.cascadingDel(id);
    }


}
